<%--
  Created by IntelliJ IDEA.
  User: zjzhai
  Date: 9/30/13
  Time: 4:53 AM
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
    <title>登录</title>
</head>
<body>
<g:if test="${flash.message!=null}">
    <%=flash.message%>
</g:if>

<g:form controller="account" action="authenticat">
    用户名：<g:textField name="name" value="${account.name}"/>                             <br/>
    密码：<g:passwordField name="password" id="password"/>                   <br/>
    <g:submitButton name="submit" value="登录"/>
</g:form>
<g:link controller="account" action="reg">注册</g:link>

<div>帐号：55</div>
<div>密码：55</div>
</body>
</html>